package cn.mntool.fastcode.generate.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * describe: 查询语句配置
 *
 * @author lianying
 * @date 2020/03/08
 */
@Data
@Component
@ConfigurationProperties(prefix = "code-sql")
public class SqlConfig {
    /**
     * mysql查询字段信息sql
     */
    private String fieldInfoForMysql;
    /**
     * mysql查询表信息sql
     */
    private String tableInfoForMysql;
    /**
     * mysql查询表主键sql
     */
    private String tablePkForMysql;
    /**
     * ORACLE查询字段信息sql
     */
    private String fieldInfoForOracle;
    /**
     * ORACLE查询表信息sql
     */
    private String tableInfoForOracle;
    /**
     * ORACLE查询表主键sql
     */
    private String tablePkForOracle;
}
